package download;

/**
 * 现在文件的基本参数信息
 * 
 * @author chenhongzhao 2008.3.20
 * @since 1.0.0
 */
public class DownloadInfoBean
{

	private String siteURL; // 文件下载地址
	private String filePath; // 文件保存路径
	private String fileName; // 保存时的文件名
	private int threadNum; // 下载线程数

	public DownloadInfoBean()
	{
		// 默认线程数为5
		this("", "", "", 5);
	}

	public DownloadInfoBean(String URL, String path, String name, int threadNum)
	{
		siteURL = URL;
		filePath = path;
		fileName = name;
		this.threadNum = threadNum;

	}

	public String getSiteURL()
	{
		return siteURL;
	}

	public void setSiteURL(String siteURL)
	{
		this.siteURL = siteURL;
	}

	public String getFilePath()
	{
		return filePath;
	}

	public void setFilePath(String filePath)
	{
		this.filePath = filePath;
	}

	public String getFileName()
	{
		return fileName;
	}

	public void setFileName(String fileName)
	{
		this.fileName = fileName;
	}

	public int getThreadNum()
	{
		return threadNum;
	}

	public void setThreadNum(int threadNum)
	{
		this.threadNum = threadNum;
	}
}
